<template>
  <div class="w-full h-full flex justify-center items-center flex-col">
    <Lottie class="w-96 h-96" :params="{ animationData: NotFound }" />
    <a-button @click="goBack">
      {{ $t('router.back') }}
    </a-button>
  </div>
</template>

<script lang="ts" setup>
import { useRouter } from 'vue-router';
import Lottie from '@/components/lottie.vue';
import NotFound from '@/assets/lottie/NotFound.json';
defineOptions({
  name: 'NotFoundPage',
});

const router = useRouter();

const goBack = () => {
  router.back()
};
</script>
